import { Module } from '@nestjs/common';
import { VideoService } from './video.service';
import { VideoController } from './video.controller';
import { MongooseModule } from '@nestjs/mongoose';
import { Video_InfoSchema } from '../schema/video';

@Module({
  imports: [
    MongooseModule.forFeature([
      { name: 'Video_Info', schema: Video_InfoSchema },
    ]),
  ],
  controllers: [VideoController],
  providers: [VideoService],
})
export class VideoModule {}
